# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=gcc-docs
pkgver=4.6.1
pkgrel=1
pkgdesc="Set of HTML documentation for GCC."
arch=('any')
url="http://gcc.gnu.org"
license=('GPL')
depends=('gcc')
options=('docs')
source=(http://gcc.gnu.org/onlinedocs/gcc-$pkgver/gcc-html.tar.gz)
md5sums=('a65fb4dc6f83e4cb4a2a22ed7b625275')

build(){
  cd "$srcdir/gcc"
  install -d ${pkgdir}/usr/share/doc/gcc
  cp -rf * ${pkgdir}/usr/share/doc/gcc
}
